<form action="up_price.manage.php" method="post" id="form_modi" style="padding-bottom:20px" name="form_modi">
	<input type="hidden" name="action" value="modifysave" />
	<input type="hidden" name="i_id" value="<tpl> $price_array.i_id </tpl>" />
 <table class="from_table2">
	<thead>
	   <tr>
	     <th width="200"><tpl> $langPriceAreaLowerLimit </tpl></th>
		  <th width="200"><tpl> $langPriceAreaUpperLimit </tpl></th>
		  <th width="200"><tpl> $langPriceAddExtent </tpl></th>
	     <th width="50"><tpl> $langCOperation </tpl></th>
	  </tr>
    </thead>
	  <tr>
		  <td width="200">￥
			<input type="text" name="u_txt_i_low" class="txtinput" style="width:100px" value="<tpl> $price_array.i_low </tpl>" />
			<label style="display:none" for="u_txt_i_low" class="wrong" metaDone="true" generated="true"></label>		</td>
		  <td width="200">￥
			<input type="text" class="txtinput"  style="width:100px" name="u_txt_i_high" value="<tpl> $price_array.i_high </tpl>" />
			<label style="display:none" for="u_txt_i_high" class="wrong" metaDone="true" generated="true"></label>		</td>
		  <td width="200">￥
			<input type="text" class="txtinput"  style="width:100px" name="u_txt_increment"  value="<tpl> $price_array.increment </tpl>" />
			<label style="display:none" for="u_txt_increment" class="wrong" metaDone="true" generated="true"></label>		</td>
		  <td width="50"><span class="btn_left">
	    <input type="submit" name="Submit" class="btn_submit" value="<tpl> $langPriceEdit </tpl>" /></span></td>
	  </tr>
	
  </table>
  <div class="table-5-bottom"><div class="p-left"><span class="btn_left"><input id="butt_list" type="button" class="btn_submit" value="<tpl> $langPriceReturnList </tpl>" /></span></div></div>
</form>
<script>
$(document).ready(function() {
$('#message').css('display','none');

	//返回列表
	$("#butt_list").click(function(){
		ShowDiv = "result_content";
		getPageContent("up_price.manage.php?action=ajax_list&curpage=<tpl> $curpage </tpl>");
	});	

	$("#form_modi").validate({
		errorClass: "wrong",
		rules: {
			u_txt_i_low: {required:true,number:true},
			u_txt_i_high: {required:true,number:true},
			u_txt_increment: {required:true,number:true}
		},
		messages: {
			u_txt_i_low: {required:"<tpl> $langPriceAreaLowerLimitNotNull </tpl>",number:"<tpl> $langPriceAreaLowerLimitIsNum </tpl>"},
			u_txt_i_high: {required:"<tpl> $langPriceAreaUpperLimitNotNull </tpl>",number:"<tpl> $langPriceAreaUpperLimitIsNum </tpl>"},
			u_txt_increment: {required:"<tpl> $langPriceAddExtentNotNull </tpl>",number:"<tpl> $langPriceAddExtentIsNum </tpl>"}
		},
		submitHandler: ajax_modi
	});
	
});
 function ajax_modi(){
 	/* 取表单参数 */var queryString=$("#form_modi").formSerialize();
	
	

	 $.ajax({
		url: "up_price.manage.php",
		data: queryString,
		type:'post',
		dataType:"json",
		beforeSubmit:  showLoading(showSaveText),
		success: function(msg){
			ShowDiv = 'message';
			showMessage(msg.message,msg.type);
			hideLoading();
			if(msg.type == 1){
				ShowDiv = "result_content";
				getPageContent("up_price.manage.php?action=ajax_list");
			}
		}
	});
	return false;
 }
</script>